package com.hlhj.funlike_business.activity.adapter;

import android.support.annotation.Nullable;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hlhj.funlike_business.R;
import com.hlhj.funlike_business.bean.ShopInfoBean;

import java.util.List;

public class ActivityAdp extends BaseQuickAdapter<ShopInfoBean.DataBean.ActivityBean ,BaseViewHolder> {
    public ActivityAdp(@Nullable List<ShopInfoBean.DataBean.ActivityBean> data) {
        super(R.layout.adp_activity,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ShopInfoBean.DataBean.ActivityBean item) {
        TextView tv = helper.getView(R.id.tv_manjian);
        tv.setText(item.getText());
    }
}
